﻿namespace Yamfinder.Service
{
    public class User
    {
        public User(Data.User dataUser)
        {
            Username = dataUser.Username;
            Firstname = dataUser.Firstname;
            Lastname = dataUser.Lastname;
            IsAdmin = dataUser.IsAdmin;
        }

        public string Username { get; set; }
        public string Firstname { get; set; }
        public string Lastname { get; set; }
        public bool IsAdmin { get; set; }
    }
}